package com.jn.erp.web.api.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jn.erp.web.api.institution.entity.vo.EmployeeVo;
import com.jn.erp.web.api.student.entity.Student;
import com.jn.erp.web.api.student.entity.dto.EnrollmentStuDto;
import com.jn.erp.web.api.student.entity.dto.StudentRenewalDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    List<Student> getList(@Param("student") Student student);

    String selNum(@Param("employeeVo") EmployeeVo employeeVo);

    List<EnrollmentStuDto> enrollmentList(@Param("student") EnrollmentStuDto student);

    Student getStudent(@Param("student") Student student);

    Student applicationOne(@Param("student") Student student);

    EnrollmentStuDto totalAmount(@Param("student") EnrollmentStuDto student);

    List<Student> allStudent(@Param("student") Student student);

    List<Student> studentList(@Param("student") Student student);

    String selManageCount(@Param("employeeVo") EmployeeVo employeeVo);

    List<StudentRenewalDto> alertsList(StudentRenewalDto studentRenewalDto);
}